package com.napenalki.toto.dao;

import java.util.List;

import com.napenalki.toto.domain.User;

public interface UserDao {

    public User addUser(User user);
    
    public User findUserByName(String userName);
    
    public List<User> findAllUsers();

    public List<User> findUsersOrderedByPoints();

    public User updateUser(User user);

    public void deleteUser(User user);
}
